
import Layout from '@/layout'

export default {
  path: '/attendances',
  component: Layout,
  name: 'attendance',
  redirect: '/attendances/index',
  children: [
    {
      path: 'index',
      component: () => import('@/views/attendances'),
      meta: {
        title: '考勤',
        icon: 'table' }
    },
    {
      path: 'archiving',
      component: () => import('@/views/attendances/historical'),
      hidden: true
    },
    {
      path: 'report/:month',
      component: () => import('@/views/attendances/report'),
      hidden: true
    }
  ]
}
